package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    //根据手机号查询会员
     Member findByTelephone(String telephone);
     void add(Member member);
     List<Integer> findMemberCountByMonths(List<String> months);

//    根据时间段查询会员
    Map<String, Object> getMemberByTimeQuantum(String beginDate, String endDate);

    Map<String, Integer> getMemberSexAnalysis();

    Map<String, Integer> getMemberAgeAnalysis() throws Exception;

}
